package com.bowen.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bowen.common.utils.PageUtils;
import com.bowen.gulimall.product.entity.SpuInfoDescEntity;
import com.bowen.gulimall.product.entity.SpuInfoEntity;
import com.bowen.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author bowen
 * @email 1461236870@gmail.com
 * @date 2022-10-20 13:26:16
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuInfo);

    void saveBaseInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageCondiiton(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

